﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmPlanIngresoPlanificacion.aspx.vb" Inherits="Interfaz_frmGestConfeccionOT" title="Untitled Page" %>

<%@ Register Assembly="BasicFrame.WebControls.BasicDatePicker" Namespace="BasicFrame.WebControls"
    TagPrefix="BDP" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />
    <table style="width: 100%; background-color: #ccffff">
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 406px; border-bottom: blue thin solid; height: 21px">
                <table style="width: 100%; border-bottom: mediumblue thin double; background-color: white">
                    <tr>
                        <td style="width: 248px; text-align: left">
                            <strong>INGRESO PLANIFICACION&nbsp;</strong></td>
                    </tr>
                </table>
                <table style="width: 100%">
                    <tr>
                        <td style="width: 248px; height: 43px; text-align: right">
                            Orden de Trabajo:</td>
                        <td style="width: 200px; height: 43px; text-align: left">
                            <asp:DropDownList ID="DropAsocOT" runat="server" Width="200px">
                            </asp:DropDownList></td>
                        <td style="width: 198px; height: 43px; text-align: right">
                            <asp:Button ID="Buscar" runat="server" Text="Buscar" /></td>
                        <td style="width: 198px; height: 43px; text-align: right">
                            Fecha Planificacion :</td>
                        <td style="height: 43px; text-align: left">
                            <BDP:BasicDatePicker ID="BasicDatePicker1" runat="server">
                            </BDP:BasicDatePicker>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table style="width: 100%; background-color: #ccffff">
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 400px; border-bottom: blue thin solid; height: 21px; text-align: center;"><table style="width: 100%; border-bottom: mediumblue thin double; background-color: white">
                    <tr>
                        <td style="width: 248px; text-align: left">
                            <strong>SUB-PROYECTOS</strong></td>
                    </tr>
                </table>
                <asp:GridView ID="GridSubProyectos" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                    AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" CellPadding="4"
                    ForeColor="#333333" GridLines="None" OnRowCancelingEdit="GridSubProyectos_RowCancelingEdit"
                    OnRowDeleting="GridSubProyectos_RowDeleting" OnRowEditing="GridSubProyectos_RowEditing"
                    OnRowUpdating="GridSubProyectos_RowUpdating" Width="100%">
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:BoundField DataField="SUBPROYECTO" HeaderText="Nombre Sub-Proyecto" ReadOnly="True">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DESCRIPCION" HeaderText="Descripcion Trabajo">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="OBSTALLER" HeaderText="Observacion Taller">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="NotasCliente" HeaderText="Notas Cliente">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="NOTASVENTAS" HeaderText="Notas Ventas">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="Planificar">
                            <ItemTemplate>
                                <asp:Button ID="BtnPlanificar" runat="server" Text="Planificar" OnClick="BtnPlanificar_Click" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Cantidad Materiales">
                            <ItemTemplate>
                                <asp:TextBox ID="TxTCantMAt" runat="server"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText=" Desc. Marca fab.">
                            <ItemTemplate>
                                <asp:TextBox ID="TxTDescMarcFab" runat="server"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Kg. Unit">
                            <ItemTemplate>
                                <asp:TextBox ID="TxtkgUnit" runat="server"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="ObsMarcaFab">
                            <ItemTemplate>
                                <asp:TextBox ID="TxTObsMarcaFab" runat="server"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Plano Fabricacion">
                            <ItemTemplate>
                                <asp:TextBox ID="TxTplanoFab" runat="server"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Planificado">
                            <ItemTemplate>
                                <asp:CheckBox ID="CheckPlanificado" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Terminado">
                            <ItemTemplate>
                                <asp:CheckBox ID="CheckTerminado" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
        </tr>
    </table>
    <table style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
        width: 100%; border-bottom: blue thin solid; position: static">
        <tr>
            <td style="text-align: center">
                            <asp:Button ID="Button1" runat="server" Text="Ingresar" /></td>
            <td style="text-align: center">
                            <asp:Button ID="Button3" runat="server" Text="Limpiar" /></td>
            <td style="text-align: center">
                            <asp:Button ID="Button2" runat="server" Text="Validar" /></td>
        </tr>
    </table>
</asp:Content>

